var layoutDtMgr = {
    arrLayoutDt:[
        {
           id:1,
           array:[[0,3],[0,7],[0,8],[1,0],[1,3],[1,8],[2,0],[2,3],[2,4],[2,5],[2,8],[3,0],[3,3],[3,4],[3,5],[3,8],
           [4,0],[4,8],[5,0],[5,7],[5,8],[6,0],[6,3],[6,8],[7,3],[7,4]]
        },
        {
            id:2,
            array:[[0,1],[0,2],[0,6],[0,7],[1,0],[1,2],[1,6],[1,8],[2,0],[2,1],[2,7],[2,8],[5,0],[5,1],[5,7],[5,8],
                [6,0],[6,2],[6,6],[6,8],[7,1],[7,2],[7,6],[7,7]]
        },
        {
            id:3,
            array:[[0,2],[0,3],[0,4],[0,5],[0,6],[1,3],[1,4],[1,5],[2,0],[2,8],[3,0],[3,1],[3,7],[3,8],[4,0],[4,1],
                [4,7],[4,8],[5,0],[5,8],[6,3],[6,4],[6,5],[7,2],[7,3],[7,4],[7,5],[7,6]]
        },
        {
            id:4,
            array:[[0,0],[0,8],[1,2],[1,4],[1,6],[2,2],[2,4],[2,6],[3,0],[3,8],[5,0],[5,8],[6,0],[6,8],[4,3],[4,4],
                [4,5],[5,3],[5,4],[5,5],[6,3],[6,4],[6,5],[7,4]]
        },
        {
            id:5,
            array:[[0,4],[1,0],[1,3],[1,4],[1,8],[2,0],[2,6],[2,7],[2,8],[3,0],[3,5],[3,6],[3,7],[3,8],[4,0],[4,5],
                [4,6],[4,7],[4,8],[5,0],[5,6],[5,7],[5,8],[6,0],[6,3],[6,4],[6,8],[7,4]]
        },
        {
            id:6,
            array:[[0,0],[0,8],[1,2],[1,6],[4,0],[4,1],[4,2],[4,3],[4,4],[4,5],[4,6],[4,7],[4,8],[5,2],[5,4],[5,6],
                [6,0],[6,8],[7,0],[7,1],[7,7],[7,8]]
        },
        {
            id:7,
            array:[[0,0],[0,1],[0,7],[0,8],[1,0],[1,8],[2,2],[2,3],[2,4],[2,5],[2,6],[3,2],[3,4],[3,6],[4,2],[4,3],
                [4,4],[4,5],[4,6],[5,0],[5,8],[6,0],[6,1],[6,7],[6,8],[7,2],[7,4],[7,6]]
        },
        {
            id:8,
            array:[[0,0],[0,1],[0,2],[0,6],[0,7],[0,8],[1,0],[1,1],[1,7],[1,8],[2,0],[2,8],[5,0],[5,8],[6,0],[6,1],
                [6,7],[6,8],[7,0],[7,1],[7,2],[7,6],[7,7],[7,8]]
        },
        {
            id:9,
            array:[[1,2],[1,4],[1,6],[2,1],[2,3],[2,5],[2,6],[2,7],[3,2],[3,3],[3,5],[3,7],[4,1],[4,3],[4,4],[4,5],
                [4,7],[5,2],[5,4],[5,6],[6,1],[6,3],[6,5],[6,7]]
        },
        {
            id:10,
            array:[[2,0],[2,1],[2,2],[2,6],[2,7],[2,8],[3,0],[3,1],[3,2],[4,2],[5,2],[5,6],[5,7],[5,8],[1,6],[1,7],
                [1,8],[6,6],[6,7],[6,8],[0,1],[0,7],[7,1],[7,7]]
        },
        {
            id:11,
            array:[[3,0],[3,1],[3,6],[3,7],[3,8],[4,0],[4,1],[5,0],[5,1],[6,0],[6,1],[7,0],[7,1],[7,6],[7,7],[7,8],
                [5,6],[5,7],[5,8],[3,2],[4,2],[5,2],[6,2],[7,2]]
        },
        {
            id:12,
            array:[[0,0],[0,1],[0,2],[0,6],[0,7],[0,8],[3,2],[3,6],[4,2],[4,6],[6,0],[6,1],[6,2],[6,6],[6,7],[6,8],
                [7,0],[7,1],[7,7],[7,8]]
        },
        {
            id:13,
            array:[[0,2],[0,3],[0,5],[0,6],[1,2],[1,6],[2,2],[2,6],[3,2],[3,6],[5,0],[5,4],[5,8],[6,0],[6,4],[6,5],
                [6,8],[7,0],[7,1],[7,3],[7,4],[7,5],[7,7],[7,8]]
        },
        {
            id:14,
            array:[[1,1],[1,2],[1,3],[1,4],[1,5],[1,6],[1,7],[2,1],[2,7],[3,1],[3,3],[3,4],[3,5],[3,7],[4,1],[4,3],
                [4,4],[4,5],[4,7],[5,1],[5,7],[6,1],[6,2],[6,3],[6,4],[6,5],[6,6],[6,7]]
        },
        {
            id:15,
            array:[[0,3],[0,4],[0,5],[1,3],[1,4],[1,5],[2,0],[2,4],[2,8],[3,0],[3,1],[3,4],[3,7],[3,8],[4,0],[4,1],
                [4,2],[4,6],[4,7],[4,8],[5,0],[5,1],[5,2],[5,6],[5,7],[5,8],[6,0],[6,1],[6,2],[6,6],[6,7],[6,8],
                [7,0],[7,1],[7,7],[7,8]]
        },
        {
            id:16,
            array:[[0,0],[0,8],[1,1],[1,2],[1,3],[1,4],[1,5],[1,6],[1,7],[2,2],[2,3],[2,4],[2,5],[2,6],[3,3],[3,4],
                [3,5],[4,3],[4,4],[4,5],[5,2],[5,3],[5,4],[5,5],[5,6],[6,1],[6,2],[6,3],[6,4],[6,5],[6,6],[6,7],[7,0],
                [7,8]]
        },
        {
            id:17,
            array:[[0,1],[0,4],[0,7],[1,1],[1,4],[1,7],[2,1],[2,4],[2,7],[3,1],[3,4],[3,7],[4,1],[4,4],[4,7],[5,1],
                [5,4],[5,7],[6,1],[6,4],[6,7],[7,1],[7,4],[7,7],[1,2],[1,6],[2,3],[2,5],[5,3],[5,5],[6,2],[6,6]]
        },
        {
            id:18,
            array:[[1,1],[1,2],[1,4],[1,5],[1,7],[1,8],[2,1],[2,2],[2,4],[2,5],[2,7],[2,8],[3,1],[3,2],[3,4],[3,5],
                [3,7],[3,8],[5,1],[5,4],[5,7],[6,1],[6,4],[6,7]]
        },
        {
            id:19,
            array:[[0,0],[0,2],[0,4],[0,6],[0,8],[1,1],[1,3],[1,5],[1,7],[2,0],[2,2],[2,4],[2,6],[2,8],[3,1],[3,3],
                [3,5], [3,7],[4,0],[4,2],[4,4],[4,6],[4,8],[5,1],[5,3],[5,5],[5,7],[6,0],[6,2],[6,4],[6,6],[6,8],
                [7,1],[7,3],[7,5],[7,7]]
        },
        {
            id:20,
            array:[[1,1],[1,3],[1,5],[1,7],[2,1],[2,3],[2,5],[2,7],[3,1],[3,3],[3,5],[3,7],[4,1],[4,3],[4,5],[4,7],
                [5,1], [5,3],[5,5],[5,7],[6,1],[6,3],[6,5],[6,7]]
        }
    ],
    getDataByID:function(id) {
        for(let value of this.arrLayoutDt){
            if (id === value.id){
                return value;
            }
        }
        return null;
    },
    getArrLayoutLenght:function() {
        return this.arrLayoutDt.length;
    }
}

module.exports = layoutDtMgr;